<?php
namespace api\modules\v1\resources;

/**
 * Class Bookmark
 *
 * @author Xuegui Yuan <yuanxuegui@163.com>
 */
class Bookmark extends \common\modules\bookmark\models\Bookmark
{

    public function fields()
    {
        return [
            'id',
            'user_id',
            'type',
            'name',
            'created_at',
            'updated_at'
        ];
    }

    public function extraFields()
    {
        return [
            'bookmarkItems'
        ];
    }
}
